package com.ktgj.train.domain.InterfaceEntity;

import org.apache.catalina.LifecycleState;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class Transit implements Serializable {

    public Transit() {
        data = new ArrayList<>();
    }

    private String train_no;
    private String start_station_name;
    private String end_station_name;
    private String train_type;
    private List<Transits> data;

    public String getTrain_no() {
        return train_no;
    }

    public void setTrain_no(String train_no) {
        this.train_no = train_no;
    }

    public String getStart_station_name() {
        return start_station_name;
    }

    public void setStart_station_name(String start_station_name) {
        this.start_station_name = start_station_name;
    }

    public String getEnd_station_name() {
        return end_station_name;
    }

    public void setEnd_station_name(String end_station_name) {
        this.end_station_name = end_station_name;
    }

    public String getTrain_type() {
        return train_type;
    }

    public void setTrain_type(String train_type) {
        this.train_type = train_type;
    }

    public List<Transits> getData() {
        return data;
    }

    public void setData(List<Transits> data) {
        this.data = data;
    }
}
